<select name="{{$name}}" class="form-control form-control-md" {{$attr ?? ''}} data-params='{{$params ?? ''}}'>
    @foreach($options as $key=>$title)
        <option value="{{$key}}" data-title="{{$title}}"
                @if(isset($value)&&(string)$value == $key) selected @endif
            >
            {{$title}}
        </option>
    @endforeach
</select>